#include "BranchWidthDialog.h"
#include <QtGui/QApplication>


//-------------------------------------

BranchWidthDialog::BranchWidthDialog(QWidget *parent) :
    QDialog(parent)
{
    resize( 230, 100 );
    buttonBox = new QDialogButtonBox( this );
    buttonBox->setGeometry( QRect( 130, 20, 80, 100 ) );
    buttonBox->setOrientation( Qt::Vertical );
    buttonBox->setStandardButtons( QDialogButtonBox::Cancel | QDialogButtonBox::Ok );
    spinBox = new QSpinBox( this );
    spinBox->setGeometry( QRect( 20, 30, 100, 25 ) );
    spinBox->setMinimum( 1 );
    spinBox->setMaximum( 9999 );

    QObject::connect( buttonBox, SIGNAL( accepted() ), this, SLOT( accept() ) );
    QObject::connect( buttonBox, SIGNAL( rejected() ), this, SLOT( reject() ) );

    QMetaObject::connectSlotsByName( this );
    setWindowTitle( QApplication::translate( "BranchWidthDialog", "Line Width Dialog", 0, QApplication::UnicodeUTF8 ) );

}

//-------------------------------------

